package com.cybertron.ironhide.manage.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cybertron.ironhide.manage.domain.SeedTaskSite;
import com.cybertron.ironhide.manage.persistence.SeedTaskSiteMapper;
import com.cybertron.ironhide.manage.service.SeedTaskSiteService;

@Service
public class SeedTaskSiteServiceImpl implements SeedTaskSiteService {

	@Resource
	private SeedTaskSiteMapper seedTaskSiteMapper;

	@Override
	public void updateByPrimaryKeySelective(SeedTaskSite record) {
		seedTaskSiteMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public SeedTaskSite selectByPrimaryKey(String id) {
		return seedTaskSiteMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<SeedTaskSite> selectUnCompleteBySourceAndTaskId(String source,
			String taskId) {
		return seedTaskSiteMapper.selectUnCompleteBySourceAndTaskId(source,
				taskId);
	}

	@Override
	public String selectCategoryIdByPrimaryKey(String taskId) {
		return seedTaskSiteMapper.selectCategoryIdByPrimaryKey(taskId);
	}

}
